package com.eeds.service.region.impl;

import com.eeds.dao.ChinaDao;
import com.eeds.model.region.req.ReqGetRegionListVO;
import com.eeds.model.region.res.ResGetRegionListVO;
import com.eeds.service.region.RegionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RegionServiceImpl implements RegionService {


    @Autowired
    private ChinaDao chinaDao;


    /**
     * 获取区域列表
     *
     * @param reqGetRegionListVO
     * @return
     */
    @Override
    public List<ResGetRegionListVO> getRegionList(ReqGetRegionListVO reqGetRegionListVO) {
        return chinaDao.getRegionList(reqGetRegionListVO);
    }
}
